home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr49 / mtl100je.zip / MAKEFILE.MAK < prev    next >
Makefile  |  1993-05-06  |  2KB  |  58 lines

  1. #---------------------------------------------------------------------------
  2. #
  3. #       MAKEFILE.MAK: makefile for DOS multitasking library.
  4. #       Copyright (c) J.English 1993.
  5. #       Author's address: je@unix.brighton.ac.uk
  6. #
  7. #       Permission is granted to use copy and distribute the
  8. #       information contained in this file provided that this
  9. #       copyright notice is retained intact and that any software
  10. #       or other document incorporating this file or parts thereof
  11. #       makes the source code for the library of which this file
  12. #       is a part freely available.
  13. #
  14. #---------------------------------------------------------------------------
  15.  
  16. .AUTODEPEND
  17. .SILENT
  18.  
  19. #----- Symbol definitions -----
  20.  
  21. DIR   = d:\borlandc                 # Borland C++ directory -- change to suit
  22. MODEL = s                           # Memory model (s, m, l, c, h or t)
  23. CC    = bcc -m$(MODEL) -I$(INC)\include -L$(LIB)\lib
  24.  
  25. #----- Default compilation rule -----
  26.  
  27. .cpp.obj:
  28.     $(CC) -c $.
  29.  
  30. #----- Compilation rules -----
  31.  
  32. all: example1.exe example2.exe example3.exe example4.exe
  33.  
  34. example1.exe: example1.obj threads.obj
  35.     $(CC) example1.obj threads.obj
  36.  
  37. example2.exe: example2.obj threads.obj
  38.     $(CC) example2.obj threads.obj
  39.  
  40. example3.exe: example3.obj threads.obj
  41.     $(CC) example3.obj threads.obj
  42.  
  43. example4.exe: example4.obj threads.obj
  44.     $(CC) example4.obj threads.obj
  45.  
  46. example1.obj: example1.cpp
  47. example2.obj: example2.cpp
  48. example3.obj: example3.cpp
  49. example4.obj: example4.cpp
  50.  
  51. #----- Other targets -----
  52.  
  53. clean:                              # clean up directory
  54.     del *.obj
  55.  
  56. print:                              # print sources
  57.     print *.doc *.mak *.h *.cpp
  58.